<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@ include file="/WEB-INF/jsp/common/meta.jsp"%>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>IP锁定配置</title>
</head>
<body>
        <table singleSelect=true fit=true id="SysUserStateChangeWin_datagrid"
               fitColumns=true rownumbers="true" toolbar="#SysUserStateChangeWin_toolbar" pagination="true"
               pageSize="${defaultPageSize}" pageList="${defaultPageList}"
               data-options="url:'${ctx}/sys/sysUserStateChange/listLockIp?accountId=${accountId}'">
            <thead>
            <tr>
                <th data-options="field:'accountId',hidden:true,width:200">账号ID</th>
                <th data-options="field:'sysAccount.loginName',hidden:true,width:150">登录名</th>
                <th data-options="field:'type',width:150,hidden:true,formatter:HgUtil.fieldFormatterFunc('sysUserStateChangeType')" align=center
                	>状态类型</th>
                <th data-options="field:'ip',width:150" editor="{type:'textbox',options:{required:true,missingMessage:'此输入项为必填项'}}">调用IP</th>
                <th data-options="field:'originState',hidden:true,width:150,formatter:HgUtil.fieldFormatterFunc('userStateType')" align=center>原状态</th>
                <th data-options="field:'currentState',hidden:true,width:150,formatter:HgUtil.fieldFormatterFunc('userStateType')" align=center
                	>现状态</th>
                <th data-options="field:'crtType',width:150,formatter:HgUtil.fieldFormatterFunc('crtTypeUserStateChange')" align=center">变更方式</th>
                <th data-options="field:'descr',width:150" editor="{type:'textbox'}">描述</th>
                <th data-options="field:'isCurrent',hidden:true,width:150,formatter:HgUtil.fieldFormatterFunc('trueOrFalse')" align=center">是否当前状态</th>
                <th data-options="field:'crtTime',width:150,formatter:HgUtil.formatToDateTime">创建时间</th>            </tr>
            </thead>
        </table>
        <div id="SysUserStateChangeWin_toolbar" tag=listen_hotkey>
            <table>
                <tr>
                	<td><a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon_add1" plain="true" tag="add">锁定</a></td>
                    <td><a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon_save1" plain="true" tag="save">保存</a></td>
					<td><a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon_undo',plain:true" tag="undo">撤销</a></td>
                    <td><a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon_auto_colorful__unlock" plain="true" tag="unlock">解锁</a></td>
                    <td><div class="datagrid-btn-separator"></div></td>
                    <td><a class="easyui-linkbutton" iconCls="icon_clear" plain="true" tag="clear">清空查询</a></td>
                </tr>
            </table>
        </div>
<script type="text/javascript">
	var accountId = "${accountId}";
</script>
<script type="text/javascript" src="${ctx}/static/js/sys/user/sysUserStateChangeWithinIp_winView.js?jsTimer=${jsTimer}"></script>

</body>

</html>